package com.think.teaching.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.think.teaching.model.ExamPaperType;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 课程类型类型 服务类
 * </p>
 *
 * @author think
 * @since 2020-08-12
 */
@Service
public interface ExamPaperTypeService extends IService<ExamPaperType> {
	
	ExamPaperType AddExamPaperType(ExamPaperType ExamPaperType);

	ExamPaperType UpdateExamPaperType(ExamPaperType ExamPaperType);

	ExamPaperType GetExamPaperType(Integer id);

	List<ExamPaperType> SearchExamPaperTypeWithKey(String key,Boolean withoutBan);
	
	IPage<ExamPaperType> ListExamPaperTypeWithTagAndType(Integer count, Integer page, Integer type, Integer tag,Boolean withoutBan);

	ExamPaperType SetExamPaperTypeState(Integer id, Integer state);

}
